import Request from './request'

const url = '/api/auth/invitations'
export default {
  updateInvitations ({openid, category, data, wechatAvatarUrl, wechatNickname}) {
    return Request.post(url, {i: openid, c: category, d: data, wa: wechatAvatarUrl, wn: wechatNickname})
  }
}